home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
watcom
/
st4gw110
/
stub4gw.doc
< prev
next >
Wrap
Text File
|
1995-01-28
|
3KB
|
101 lines
STUB/4GW Version 1.10
======================
by Vladimir (Wladows) Arnost
QA-Software
Internet: xarnos00@dcse.fee.vutbr.cz
DISCLAIMER
----------
In no event will I be liable to you for any damages, including any loss
of profits, lost savings or other incidential or consequential damages
arising out of your use or inability to use this program, or for any other
claim by any other party.
TRADEMARKS
----------
Turbo Assembler is a registered trademark of Borland International
WATCOM is a trademark of WATCOM International Corp.
DESCRIPTION
-----------
STUB/4GW is a small replacement for the original stub loaders shipped with
Watcom C/C++ compilers. It was written entirely in assembly language with
respect to size and speed of execution. It is more than ten times smaller
than the original loaders (WSTUB.EXE: 10610 bytes, WSTUBQ.EXE: 11566 bytes,
while STUB4GW.EXE: 768 bytes and STUB4GWQ.EXE: 880 bytes).
The loader and its source code are free for both commercial and personal
use. You are free to use and/or base your own programs on it. However this
package can't be distributed if modified in any way. So, if you change
something, don't distribute it under its original name.
HOW TO USE IT
-------------
Copy files STUB4GW.EXE and STUB4GWQ.EXE into the %WATCOM%\BINB directory
and modify the linker definition file WLSYSTEM.LNK according to this (see
the file STUB4GW.LNK):
system begin dos4g
option osname='Rational Systems'
libpath %WATCOM%\lib386
libpath %WATCOM%\lib386\dos
# change this line:
op stub=stub4gw.exe
format os2 le
end
and (optionally) add this entry:
system begin dos4gq
option osname='Rational Systems Quiet'
libpath %WATCOM%\lib386
libpath %WATCOM%\lib386\dos
# notice the change here:
op stub=stub4gwq.exe
format os2 le
end
That's all!
Now you can compile and link with the new stubs:
WCL386 /l=dos4g program.c
-or-
WCL386 /l=dos4gq program.c
To recompile the stubs you need TASM (Turbo Assembler) version 2.0 or newer.
Actually this version was written under TASM 3.2. Sorry to you folks, who
have just one assembler (I mean Watcom WASM). I think TASM is better. (But
this is not true about the C compilers. 8-)
FINAL NOTES
-----------
As any program, this one may contain bugs. Please send me any bug reports,
new ideas, comments or suggestions. Only this way leads to perfect software.
My Internet address is:
xarnos00@dcse.fee.vutbr.cz
snail-mail:
Vladimir Arnost
Ceska 921
Chrudim 4
537 01
CZECH REPUBLIC
Thanks, you are great!